home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 May / CHIPCD200305.iso / game / cat.swf / scripts / frame_1 / PlaceObject2_90_84 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Encoding:
Text File  |  2003-03-01  |  527 b   |  29 lines

  1. onClipEvent(enterFrame){
  2.    if(this.hitTest(_root.cbz))
  3.    {
  4.       _root.yc = true;
  5.       _root.yc = true;
  6.       this._y = -51;
  7.       if(this._x == 65)
  8.       {
  9.          _root.xc1 == true;
  10.       }
  11.       else if(this._x == 156)
  12.       {
  13.          _root.xc2 == true;
  14.       }
  15.       else if(this._x == 251)
  16.       {
  17.          _root.xc3 == true;
  18.       }
  19.       else if(this._x == 345)
  20.       {
  21.          _root.xc4 == true;
  22.       }
  23.       else if(this._x == 438)
  24.       {
  25.          _root.xc5 == true;
  26.       }
  27.    }
  28. }
  29.